<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <title>商品列表</title>
    <link rel="stylesheet" href="xiaominot.css"/>
    <script src="bootstrap-3.3.5-dist/jquery-2.0.3.js"></script>
</head>
<body>
<section id="wrapper">
    <header>
        <a class="kuohao" href="xiaomishouye.html"><div class="left"></div></a>
        <p>商品列表</p>
        <a href="sousuo.html"><div class="right"></div></a>
    </header>
    <section class="chanpin">
        <a href="#">
            <div class="img1"></div>
            <div class="jieshao"><h3>小米Note 标准版 全网通</h3><span>1699元</span></div>
        </a>
    </section>
    <section class="chanpin">
        <a href="#">
            <div class="img2"></div>
            <div class="jieshao"><h3>小米Note 标准版 全网通</h3><span>1699元</span></div>
        </a>
    </section>
    <section class="chanpin">
        <a href="#">
            <div class="img3"></div>
            <div class="jieshao"><h3>小米Note 女神版 全网通</h3><span>1699元</span></div>
        </a>
    </section>
    <section class="chanpin">
        <a href="#">
            <div class="img1"></div>
            <div class="jieshao"><h3>小米Note 标准版 双网通</h3><span>1499元</span></div>
        </a>
    </section>
    <section class="chanpin">
        <a href="#">
            <div class="img2"></div>
            <div class="jieshao"><h3>小米Note 标准版 双网通</h3><span>1499元</span></div>
        </a>
    </section>
    <footer>
        <ul>
            <li><a href="xiaomishouye.html"><div class="sc"></div><p>商城</p></a></li>
            <li><a href="#"><div class="fl"></div><p class="ys">分类</p></a></li>
            <li><a href="gouwuche.html"><div class="gwc"></div><p>购物车</p></a></li>
            <li><a href="fuwu.html"><div  class="fw"></div><p>服务</p></a></li>
        </ul>
    </footer>
</section>
</body>
<script>
    $(function(){
        function fullwidth(){
            if($('body').width() >= 720){
                $('html').css('font-size',100 + 'px');
                return;
            }
            var scale = $('body').width() / 720;
            $('html').css('font-size',scale * 100 + 'px');
        }
        fullwidth();
        $(window).resize(function(){
            fullwidth()
        });
    });
</script>
</html>